/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const router = {
  path: '/accountBookSearch',
  component: Layout,
  redirect: 'noredirect',
  meta: { title: '账簿查询', icon: 'fas fa-tachometer-alt', noCache: true },
  children: [
    {
      path: 'subjectBalance',
      component: () => import('@/views/accountBookSearch/subjectBalance'),
      name: 'SubjectBalance',
      meta: { title: '科目余额表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'generalLedger',
      component: () => import('@/views/accountBookSearch/generalLedger'),
      name: 'GeneralLedger',
      meta: { title: '总分类账', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'generalSubLedger',
      component: () => import('@/views/accountBookSearch/generalSubLedger'),
      name: 'GeneralSubLedger',
      meta: { title: '普通明细账', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'supplementaryItemAccounting',
      component: () => import('@/views/accountBookSearch/supplementaryItemAccounting'),
      name: 'SupplementaryItemAccounting',
      meta: { title: '辅助项核算', icon: 'fas fa-tachometer-alt', noCache: true }
    }
  ]
}

export default router
